package day20170504.ch01;


public class MagicThreadTest {
	
	public static void main(String[] args) {
		MagicThread magicThread = new MagicThread();
		Thread t01 = new Thread(magicThread);
		t01.setName("魔法师");
		t01.start();
		Thread t02 = new Thread(magicThread);
		t02.setName("战士"); 
		t02.start();
	}
}
